Version Packages - #1915
Merged
Merged
Conversation
github-actions
Bot
force-pushed
the
changeset-release/main
branch
8 times, most recently
from
October 20, 2023 06:56
42a8fa5 to
12c25d9
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
October 23, 2023 20:06
12c25d9 to
87c91f8
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
2 times, most recently
from
October 23, 2023 23:06
8e70626 to
1f56d51
Compare
nikosdouvlis
enabled auto-merge
October 23, 2023 23:17
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
October 24, 2023 00:25
1f56d51 to
5a726a9
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
October 24, 2023 01:47
5a726a9 to
80f8f5c
Compare
auto-merge was automatically disabled
October 24, 2023 17:02
Pull request was closed
brkalow
enabled auto-merge
October 24, 2023 17:15
brkalow
approved these changes
Oct 24, 2023
brkalow
added this pull request to the merge queue
Oct 24, 2023
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Oct 24, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@clerk/shared@1.0.0
Major Changes
The package was reworked to allow for better isomorphic use cases and ESM support, resulting in some breaking changes. It now allows for subpath exports and restricts some imports to specific subpaths. (#1898) by @LekoArts
Instead of importing from the root
@clerk/sharedimport you can now use subpaths for most things:By using subpaths you can tell bundlers to only bundle specific parts, potentially helping with tree-shaking. It also mitigates issues where e.g. modules only relevant for React where picked up in Node.js-only environments.
If you're not using
@clerk/shareddirectly (only by proxy through e.g.@clerk/clerk-react) you don't need to do anything. If you are relying on@clerk/shared, please read through the breaking changes below and change your code accordingly. You can rely on your IDE to give you hints on which exports are available at@clerk/sharedand@clerk/shared/<name>subpaths.Breaking Changes
@clerk/sharedwas and still is a dual CJS/ESM package. The ESM files provided by@clerk/sharednow use.mjsfile extensions and also define them in their import paths, following the ESM spec. Your bundler should handle this for you.Some imports where moved from the root
@clerk/sharedimport to isolated subpaths.Helper utils for cookies and globs:
Everything related to React. Below is a small example and the full list of exports:
Full list of exports moved to
@clerk/shared/react:If you run into an issues that might be a bug, please open a bug report with a minimal reproduction.
Patch Changes
Publish packages with npm provenance enabled (#1891) by @LekoArts
Improve internal test coverage and fix small bug inside
callWithRetry(#1925) by @LekoArtsUpdate imports of
@clerk/sharedto granular entrypoints. This addresses warnings during a Next.js build that are the result of unsupported APIs being included in the module graph of builds for the edge runtime. (#1924) by @BRKalow@clerk/clerk-js@4.63.0
Minor Changes
Introduce customization in
UserProfileandOrganizationProfile(#1822) by @anagstefThe
<UserProfile />component now allows the addition of custom pages and external links to the navigation sidebar. Custom pages can be created using the<UserProfile.Page>component, and external links can be added using the<UserProfile.Link>component. The default routes, such asAccountandSecurity, can be reordered.Example React API usage:
Custom pages and links should be provided as children using the
<UserButton.UserProfilePage>and<UserButton.UserProfileLink>components when using theUserButtoncomponent.The
<OrganizationProfile />component now supports the addition of custom pages and external links to the navigation sidebar. Custom pages can be created using the<OrganizationProfile.Page>component, and external links can be added using the<OrganizationProfile.Link>component. The default routes, such asMembersandSettings, can be reordered.Example React API usage:
Custom pages and links should be provided as children using the
<OrganizationSwitcher.OrganizationProfilePage>and<OrganizationSwitcher.OrganizationProfileLink>components when using theOrganizationSwitchercomponent.Patch Changes
Publish packages with npm provenance enabled (#1891) by @LekoArts
Keep
CreateOrganizationFormdisabled in case of an uploaded avatar and organization name is empty. (#1910) by @nikospapcomDrop
experimental_force_oauth_first&experimental__forceOauthFirstfromDisplayConfig(#1918) by @dimklConsider
Clerk.setActiveas stable. (#1917) by @dimklUpdated dependencies [
3bf64107e,734dc52af,52f8553d2,92727eec3,b09b66eec,51861addf,aa4cd7615]:@clerk/clerk-react@4.27.0
Minor Changes
Introduce customization in
UserProfileandOrganizationProfile(#1822) by @anagstefThe
<UserProfile />component now allows the addition of custom pages and external links to the navigation sidebar. Custom pages can be created using the<UserProfile.Page>component, and external links can be added using the<UserProfile.Link>component. The default routes, such asAccountandSecurity, can be reordered.Example React API usage:
Custom pages and links should be provided as children using the
<UserButton.UserProfilePage>and<UserButton.UserProfileLink>components when using theUserButtoncomponent.The
<OrganizationProfile />component now supports the addition of custom pages and external links to the navigation sidebar. Custom pages can be created using the<OrganizationProfile.Page>component, and external links can be added using the<OrganizationProfile.Link>component. The default routes, such asMembersandSettings, can be reordered.Example React API usage:
Custom pages and links should be provided as children using the
<OrganizationSwitcher.OrganizationProfilePage>and<OrganizationSwitcher.OrganizationProfileLink>components when using theOrganizationSwitchercomponent.Patch Changes
Publish packages with npm provenance enabled (#1891) by @LekoArts
Update imports of
@clerk/sharedto granular entrypoints. This addresses warnings during a Next.js build that are the result of unsupported APIs being included in the module graph of builds for the edge runtime. (#1924) by @BRKalowConsider
Clerk.setActiveas stable. (#1917) by @dimklUpdated dependencies [
3bf64107e,52f8553d2,92727eec3,b09b66eec,51861addf,aa4cd7615]:@clerk/remix@3.1.0
Minor Changes
defer()method in the loader passed torootAuthLoader(). (#1926) by @BRKalowPatch Changes
Publish packages with npm provenance enabled (#1891) by @LekoArts
Updated dependencies [
3bf64107e,52f8553d2,92727eec3,b09b66eec,51861addf,37d8856ba,aa4cd7615]:@clerk/types@3.57.0
Minor Changes
Introduce customization in
UserProfileandOrganizationProfile(#1822) by @anagstefThe
<UserProfile />component now allows the addition of custom pages and external links to the navigation sidebar. Custom pages can be created using the<UserProfile.Page>component, and external links can be added using the<UserProfile.Link>component. The default routes, such asAccountandSecurity, can be reordered.Example React API usage:
Custom pages and links should be provided as children using the
<UserButton.UserProfilePage>and<UserButton.UserProfileLink>components when using theUserButtoncomponent.The
<OrganizationProfile />component now supports the addition of custom pages and external links to the navigation sidebar. Custom pages can be created using the<OrganizationProfile.Page>component, and external links can be added using the<OrganizationProfile.Link>component. The default routes, such asMembersandSettings, can be reordered.Example React API usage:
Custom pages and links should be provided as children using the
<OrganizationSwitcher.OrganizationProfilePage>and<OrganizationSwitcher.OrganizationProfileLink>components when using theOrganizationSwitchercomponent.Patch Changes
Publish packages with npm provenance enabled (#1891) by @LekoArts
Drop
experimental_force_oauth_first&experimental__forceOauthFirstfromDisplayConfig(#1918) by @dimkl@clerk/backend@0.31.3
Patch Changes
Publish packages with npm provenance enabled (#1891) by @LekoArts
Update imports of
@clerk/sharedto granular entrypoints. This addresses warnings during a Next.js build that are the result of unsupported APIs being included in the module graph of builds for the edge runtime. (#1924) by @BRKalowUpdated dependencies [
3bf64107e,52f8553d2,92727eec3,b09b66eec,51861addf,aa4cd7615]:@clerk/chrome-extension@0.4.10
Patch Changes
Publish packages with npm provenance enabled (#1891) by @LekoArts
Updated dependencies [
3bf64107e,89932e1b3,92727eec3,b09b66eec,51861addf,37d8856ba]:@clerk/clerk-expo@0.19.12
Patch Changes
Publish packages with npm provenance enabled (#1891) by @LekoArts
Updated dependencies [
3bf64107e,52f8553d2,89932e1b3,92727eec3,b09b66eec,51861addf,37d8856ba,aa4cd7615]:@clerk/fastify@0.6.17
Patch Changes
Publish packages with npm provenance enabled (#1891) by @LekoArts
Updated dependencies [
3bf64107e,52f8553d2,92727eec3,b09b66eec,51861addf,aa4cd7615]:gatsby-plugin-clerk@4.4.18
Patch Changes
Publish packages with npm provenance enabled (#1891) by @LekoArts
Updated dependencies [
3bf64107e,92727eec3,b09b66eec,51861addf,37d8856ba]:@clerk/localizations@1.26.7
Patch Changes
Publish packages with npm provenance enabled (#1891) by @LekoArts
Add
dangerSectiontranslations to thetrTrtranslation file (#1920) by @EdizKeskinUpdated dependencies [
3bf64107e,b09b66eec,51861addf]:@clerk/nextjs@4.25.7
Patch Changes
Fix an issue where only static routes would be allowed by
publicRoutesprop fromauthMiddleware. (#1928) by @desiprisgPublish packages with npm provenance enabled (#1891) by @LekoArts
Update
<ClerkProvider />to work in client components within the app router. This allows rendering of the provider in client components, previously the pages router provider was being imported and throwing an error. (#1840) by @BRKalowUpdate imports of
@clerk/sharedto granular entrypoints. This addresses warnings during a Next.js build that are the result of unsupported APIs being included in the module graph of builds for the edge runtime. (#1924) by @BRKalowUpdated dependencies [
3bf64107e,52f8553d2,92727eec3,b09b66eec,51861addf,37d8856ba,aa4cd7615]:@clerk/clerk-sdk-node@4.12.16
Patch Changes
Publish packages with npm provenance enabled (#1891) by @LekoArts
Updated dependencies [
3bf64107e,52f8553d2,92727eec3,b09b66eec,51861addf,aa4cd7615]:@clerk/themes@1.7.9
Patch Changes